Fixed bad reference to relationship