fix FilterQuery constructor

https://twitter.com/xuwei_k/status/505258840770633728
https://twitter.com/yusuke/status/505259111269683200