Fixed trivial issues with report.php