Fixes Alerts popping up on search page