Fixed bug in query filter and added more test cases
0.0.4