[AggregateXCConfig] Collect actual values to ensure values aren’t duplicated.

Fixes #1189.