The relationship variable was missing.

In the example, a variable named "relationship" is used, but not created. On the line above, another variable "userRelationship" is created but not used.

I'm assuming this is a typo, and they are supposed to be the same?
The "teamMembers" variable was not used.

The variable "relationship" is not defined, and looks like it should be "teamMembers" instead.

This is a bit inconsequent with the example above, that is named "userRelationship". Either both or neither of them should include the word "relationship".
Merge pull request #1238 from geon/patch-2

The relationship variables are missing.