Correct row numbers