cannot test NameValueCollection for booleans
test for casting query witho no value to boolean