MDL-24450 - searching in mapcourses fails