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