Fixed the course selection bug.