ENYO-2689: fix a potential bad reference to an hermes.Node