Fix bug: 'programmes' and 'course (all years)' appearing in the orphaned courses list.