Fix a Fatal PHP Error on the Relationship Form