Fixed small bug in report generation.