I agree with Alfhonse, but even one chooses to ignore Alfhonse, what is the expected behavior when there are multiple GL contexts? Should the query only apply to objects made by the context or made by the entire share group? or make the query mechanism also have a flag specifying which of those?