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