MDL-41417 course: prevent duplicate idnumbers being used when updating a course