Add support for query filters to query.
Merge pull request #34 from bpot/add_query_filter_to_query

Add support for query filters to query (@bpot)