Fix setting node attributes using node.set