Fix pagination when running on DJ1.4, worked okay on DJ1.5.