Remove invalid course.