I have a material-ui tree view. I also have a search functionality to filter nodes. If the node label contains a term it will be in the result. If a node contains the t