Fixes to metadata resource tag.  Fixes #48