Fix bit values for query flags
Merge pull request #5 from bjori/fix-query-flags

Fix bit values for query flags