I also ran into this bug when importing a RTF document that contained Endnotes. It's likely an issue with many document formats besides .doc and .docx.
I also ran into this bug when importing a RTF document that contained Endnotes. It's likely an issue with many document formats besides .doc and .docx.