Fix some things with running a report.