Adjusted to change in the trait ID of capitals and sector capitals.