Support for multiple uses of the same query