Fix a report related bug.