fixes queries by type
Merge branch 'master' of https://github.com/natb1/query_tools