Fix quote on SQL queries in export_report.php (model)