Fix paginator not returning anything

Without this fix, paginated results of the `api` method are not iterable.