fix chaining filter on query 

Fixes #77