fixing a bug where if the current row didnt exist at startup the form would be uneditiable forever