Fixed up reading of rows.