Changed iter method to use cursor pagination API-92