Fix unclosed <thead> tag