Problem with scheduling and durations