Paginate recent queries page.

Change-Id: I3f9ce86d967dfa1ee2841cfade2dab62d1a308c1