Fix for Search not working on page 2 or more

search fix