Updated SQL in ReportGenerator.