Fix error with missing the end of a comment tag getting removed