Fix to generate raw HTML table for indexes