Fixed deep setting of nodes.