Fix incorrect hiding of table headers.