Moodle errors fix
SQL link report_card_grades grades to grade scale