Fixes error on no schedule.