Fix Bug: search crashed when search result has more than one page