REPORT-589 - JoinDataDefinition should allow you to set a name
Fixing a stack overflow error, and adding a unit test