Issue #75 - Fixed bug in report query.