Fixed appending rows to a table.