debugging _get_courses_by_subject_id