Incorrect citation number

I inserted a reference, which should be # ix, but is i instead. I thought it might be because a footnote was inserted by mistake, but I checked, and it is definitely an end note. How can I fix this?

Sounds like a word issue, not an endnote issue?