temporarily removed check that queries only active courses in course model