Remove unused variables. Only try to insert schedules for stationIDs that were refreshed.