Bug fix: switching between windows, with search bar.