Make sure that we provide an error message if there are not programs or stationIDs when inserting the schedule.