Error setting input vale after removing other fields

I´m getting this error when I set a field value using the method setItemValue after removing a block inside the form. Note, the removed field is not the field which I´m setting it value.

The removed item is a block

Uncaught TypeError: Cannot read property ‘vals’ of undefined dhtmlxform.js:2134

We need direct link or completed demo to reproduce the issue.
docs.dhtmlx.com/doku.php?id=othe … leted_demo