Fix for updated metadata/map metadata being merged rather than
overwritten.