Fixes search glitches