Eliminated one more instance of Params::getSearchTerms.
Don't drop status code when rewriting exception.