query report filter fix