fixed issue where searching from pages other than 1 would show no results message