Steps to reproduce
1. Go to Settings → Folder.
2. Enable "Hide apps from Drawer when in a folder".
3. Move an app into a folder.
4. Open the launcher search.
5. Search for the app that was moved into the folder.
Expected behavior
The search should find and display the app, even if it is inside a folder.
Actual behavior
The app does not appear in the search results when it is inside a folder and "Hide apps from Drawer when in a folder" is enabled.
Additional context
The app is still installed and accessible through the folder, but it becomes impossible to find through the launcher's search.