Aggregated API call bug fix