[BUGFIX] Frontend editing: fixed error when edit whole record