remove invalid HTML in Category List when Table headings 'off'