Bugfix: need findAncestor to be backwards compatible