Cache most recent search query until data is loaded