Query folding of parameter value filters