Suppose you have 50 different folders in the "Project" section and some folders are collapsed and others are uncollapsed. Tthen you use the search bar, and after resetting the search, then all folders will be collapsed.
Proposed feature: When the search bar is reset, then the collapsed/uncollapsed state of all folders should return to their last known setup.