Fix adding relationship to chart.
Merge pull request #55 from onetruebob/bug/RelationshipCrash

Fix adding relationship to chart.