Do not call gotoPage before search