fix FilterQuery constructor

https://twitter.com/xuwei_k/status/505258840770633728
https://twitter.com/yusuke/status/505259111269683200
Merge pull request #173 from xuwei-k/FilterQuery-constructor

TFJ-857 fix FilterQuery constructor