Met with Patrick, made paging go through SQL