Hmm. I exported ~800+ bookmarks in ~200+ nested folders using Opera 12.14's HTML export facility and successfully imported all of them without error, omission, or duplication into Firefox 25 several months ago. I'm not sure why you're having a problem.

About how many bookmarks (and folders) are involved in your situation?