Footnote marker vs Endnotes [bug?]

Hi
Not sure if it is intended (that’d be odd) or a bug —I don’t use endnotes that often—, but:

Using the footnote marker feature for inspector footnotes, and having those footnotes converted to endnotes at compile while compiling to RTF leaves the footnote marker as text and superscripts it with the endnote number, instead of replacing the marker.
It works if the footnotes are compiled as footnotes. Not as endnotes.
(I haven’t tested other formats than RTF.)