Fix for successful search trying to show error dialog