Fixed erroneous search for attribute on clicked node instead of event-wired node.