Added logic to use moodle_respect_duedate in moodle reporter