Adding tested version of Place isAncestorOf.