Fix AnchoredObjectQuery