Post-fixed query reduce logic bug.
Merge pull request #17 from troopjs/hotfix/query

Post-fixed query reduce logic bug.