Updated pagination for low values