This fix should solve the problem with the scheduler when small time intervals are used