Bug fix for iterate_products

In iterate_products, the check for fields offset and total_results_count
had to be done on query_result["products"] and not on query_result