Fixed timeslot calc issue