[#80334374] Correct indexing when adding new row.