Fix to schedule edit