Modified report query