improved handling of empty schedules