Changing pagination rules