Patch isAncestorOf