Cleanup paginated querying.
Merge pull request #168 from karma-exchange-org/paginated_query_cleanup_v1

Cleanup paginated querying.