many bugs in tree on add nodes after using filter

tree component some strange errors after apply filter on it and
try to add nodes in tree element after that.

errors at webix_debug.js at line 11919:
with error .length is undefined

		if (this._filter_branch){	//adding during filtering
			//we can't know the location of new item in full dataset, making suggestion
			//put at end by default
			var original_index = this._filter_branch[pid||0].length;
			//put at start only if adding to the start and some data exists
			if (!index && this.branch[pid||0].length)
				original_index = 0;

			this._filter_branch[pid||0] = webix.toArray(this._filter_branch[pid||0]);
			this._filter_branch[pid||0].insertAt(obj.id,original_index);
		}

there is any way to clear filters on tree ?
if filters is not used component works well

You can use the following to clear filtering:

tree.filter("#value#","");
// or
tree.filter(function(){return true});

It is not help :frowning:
same error

Please create a demo for this problem:

http://webix.com/snippet/

here it is:
http://webix.com/snippet/959089ba
http://webix.com/snippet/0676ba80

can you provide any answer/comment on this snippets
this is webix error or my mistake/wrong usage ?
Thanks.

Hello,

I can confirm the issue. The fix will be added into the next build.

We just have released Webix 2.4.4. This version contains a fix for the above issue.