This code will load conflicting courses instead of ensuring they're truly conflicting. It should also probably ensure that the ids don't conflict when treated case insensitve. Delete L186 and change 188 to
```
    if course.id.org.lower() == course_org_lower and course.id.course.lower() == course_cat_lower:
```