Fix pagination determinism