Limit paging size
For most queries this limits the number of rows scanned as well.
getListEntriesByDateUpdated is the only exception: it also scans
entries of deleted lists, which could result in an arbitrary
number of rows scanned. Fixing that is left to a separate patch.
(cherry picked from commit 8f11305c7b1e2394e38121157b31e74bd889b360)