Fix a warning that displays when calling iterate in the case the API returns no results.