Two sets of endnotes

Two sets of endnotes

My document seems to have two sets of endnotes, one goes up to 75 and isn't added to when I add another reference, and another beneath it which goes up to 95 which is added to.

The problem is when I export the document, only the set of endnotes which goes up to 75 shows up.

Can you offer any advice?