Trying to fix CheckCompulsoryCourses.