Fix bug in formatting for table.