Fix if in report.