Aggregate only leaf members even when parents are hidden.
Add test case for aggregation with parent members hidden.