Bugfix for adding urn to metadata