Moodle.2x mod/reader ensure report SQL params have unique names