Added get_course_type query