Added checks to ensure the only 1 address, 1 phone number, and 1 email address can be marked as primary for each member.