Fix to prevent testSearch() from flapping