Fixed Wrong Node errors when editing nodes