Added uniqueness validation on relationship model