Paginate recent queries page.

Bug: T75712
Change-Id: I1863a5f24080cbb5bd4c0b5ec572465231f3d78f