Fixed search page navigation bug