Fixed visious DOM traversal in Idealist Connector