Replace getParent() by findAncestorWithClass() method. Issue #138
Merge pull request #8 from DISID/DANDELION-138

Replace getParent() by findAncestorWithClass() method