Change course_filter to only filter out 'templates' and not call has_course_access if the only use is for GlobalStaff. The has_course_access is the expensive thing we're trying to avoid.