Fix pagination glitsch