Add ability to detect child courses to check_course