Bug when switching schedules and the course search table is not updated