Fixed bug in report view