Added case with removing whole node type (not just a property)