Fixed bug in HTML table generation.