Fixed link generation while pagination