Fixing pagination links disappearing on 2nd page.