fix prototype for filter and get 

the issue is that complex filtering with Q does not work.
This fix the issue
Merge pull request #17 from jpoutrin/master

Fix prototype for filter and get