Abort if we have an invalid schedule.