Fixed reschedule bug.