Fixed bug where search requests were being made even when they were already cached