DANDELION-138. Replace getParent() by findAncestorWithClass() method