fix matrix report aggregation bug