PMO-2298: fixed loss carry forward with correct resetting and ordered application of period contract instances, further fixes in sliding commission calculation