Fixes an issue with the new metadatas. refs #5067