One thing I often do if I run into a problem like that, is to open the file in a XML editor.
Or lately, just create an ebook out of it, then check it and it will give you all the closing errors (and other HTML mistakes

)
(I've had a lot of books that had most of the text center aligned/in italic/bold/underline, just because I hadn't closed the tag correctly!)