Table: fix error where rowspan cells made other cells swap rows.

This is an error while parsing the table.
When the parsing each row and assigning the columns the wrong while loop condition caused the loop to stop early and not consume rowspan cells from prior rows when the rowspan cell is in the last column.