base: refactor the moreresults action.

(cherry picked from commit d6b9c178802ee4ee18089194b13b1b307dffa64d)