Fix search pagination links