COCOON-2228 fixed removing namespaces when using multiple attributes. No initial copy of attributes.
Changed paths: