Allow chaining of filters and annotations in queries