Removing a child node also deletes it