Cancel ongoing requests on query or filter change

Fixes #1