fixing highlighting for courses that don't exist in the courses table (such as C_ELECTIVE, E_ELECTIVE, S_ELECTIVE)