Fix revisioning of metadata.