Small fix on report generation.