simplfy query to courses, since enrolled course has already been determined