Fixed issue that happened when a MetadataSchema was created without sending a Guid, then the schema would be created, but the wrong Schema returned