fixed aggregation to only return on row per instance_indentifier