Fix schedule date handling