MGNLUI-5671 fix filtering in tree view so the item if not filtered out if itself or any of its children matches.
This have a performance impact while processing item with huge amount of unmatched subnodes (~< 1000). User might wait for seconds/minutes for filtering to be finished.
To reproduce, import attached export of contacts, allow nt:unstructured node type in the new contacts app and filter by nonexisting name.
- TBD. How many items at what kind and level of degradation should we support?
- Filtering should not take longer then 10sec (the default cache timeout to produce a warning)