### What problem does this PR solve? Fix: Optimize search functionality - Fixed search limitations when no dataset is selected ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)