adding query filter support
Merge pull request #38 from ryanfitz/query-filter

adding query filter support