Dandelion 138

Replace getParent() by findAncestorWithClass() method (https://github.com/dandelion/issues/issues/138)