Ensure search doesn't collapse.