Speculative fix for the errors with free buildings granted by traits.
Merge pull request #13 from ls612/Ea

Speculative fix for the errors with free buildings granted by traits.