issue #658 , problem with search pagination