MDL-41578 Fixed bug in coursecat::has_course_overviewfiles