Correction: change $relatedLabel variable to $relationLabel in pivot form.
Merge pull request #722 from patrickward/develop

Correction: change $relatedLabel variable to $relationLabel in pivot for...