Fix duplicate entries for Moodle.