Corrected problem in SequentialScheduler class