#2790 filtered query