A typical search function is to restrain those results to the currently selected folder. This would be very useful when you only want to activate say the Google version of a font. Search the name within the folder, activate all those showing, no issues with different variants being activated.
The app already does this. Elect the Google provider and then use the search box, it will then search JUST Google. The same applies for personal folders and the All, recent, favourites, active and inactive options at the top of the app. I’m running the app on Mac Ventura if that helps.