Add assertion error if developer tries to define a relationship incorrectly