This was a problem that I detect on the display of the information when was updating recursive the viewmodel from the new model.
Because when we remove a element:
viewModelObj.splice(q, 1);
If we use the slice over the object and not the function we cannot guaranty the order so we don't display the correct information.
So simply change to viewModelObj().splice(q, 1); will fix this problem.
This was a problem that I detect on the display of the information when was updating recursive the viewmodel from the new model. Because when we remove a element:
viewModelObj.splice(q, 1);
If we use the slice over the object and not the function we cannot guaranty the order so we don't display the correct information.
So simply change to viewModelObj().splice(q, 1); will fix this problem.