Changes parent() in nodesupport for ancestor()

Compatibility yo'!