CONTRIB-4083 fix 'show course modules in checklist' in Moodle 2.4