Add support for any?/none? on query attributes