Fix query selection methods (ParentNode interface)