Issue #8557 ("Over 100000 matches" when there are exactly 100000 matches)

Solves issue raised in #8557. Code passes all unit tests, and correctly shows results found below, at or above SearchModel.MAX_TOTAL_RESULTS.
Why are you removing the existing comment for `clear` function below?