Corrected problem prevening generation of CSV report.