Endnotes references misformated in docx footnotes

Footnote settings can be defined separately from in text citations and bibliography templates.  They are all separately defined in the output style (or can be set to match the citation or the bibliography.  Which output style are you using?  See the attached image for the footnote dropdown options.