Issue with paginated links on home page