Fix label references in the report.