Fix bug in HtmlTableGenerator