Issue #8557

Solves issue raised in #8557. Code passes all unit tests, and correctly shows results found below, at or above SearchModel.MAX_TOTAL_RESULTS.
@jacksonweekes I think we can simply change the logic to `this.numMatches > SearchModel.MAX_TOTAL_RESULTS` so that it matches to the error message we're showing.