Why are these uniqued together?  I would assume that there would be one entry for each course_id, and that course_id might have a flag value that is either false or true.  This way it would allow an entry for course_id that is true, and a second entry that is set to false.