Catch and display search errors more usefully.