Fix bug in RelatePersons primary key and relation with Contact table