Fix single "SELECT;" as a query in a report. Thanks to Marc Cousin for the report.