Fixes EmbeddedDocumentField name bug