Datalists: correct handling of pagination bounds.