Fixed bug for None inputs for schedules