index may still be present but no values in the array so check this.model.tree[i] has contents