Minor fix in generateReport()