Correct formatting of table rows