Allow editing existing rows correctly. Fixed bug that caused the changes to always go to first cell