The way this search is written, it'll find all entries that either have `course_id` set or don't (so it'll delete overly aggressively)