?I have found that if you create a query that references a layer, then the result of that query then changes every time you click on the map.
The layer doesn't need to be currently visible, just the result of it somewhere on the map as an object.
This also happens if you query an annotation, wait for the results and click somewhere else on the map. You can even close the layer it references and click somewhere else and the existing results for the query will change.
Pretty sure this isn't a feature, although it does mean that for really messy maps you can create a point annotation for each layer you wish to return results for, then close all the layers and click around your map and have results returned for an empty map.
Maybe this quirk could be leveraged as an enhancement or removed as a bug.
Any feedback would be welcome.