SQLite working with grand paginate function, replacing a bunch of others