Fix pagination on home page