This update prevents cascading products in aggregated object queries by ensuring distinct values are used in JSON aggregations.