Fix the closing of tags in the report.