Fix node list which was referenced, not copied