Fix pagination in alert display.