55840662 Fix nullability and unique constraints in relationships; protect display_name against bad data