Update conditional statement to set primary address

Updated conditional statement based on Greg's feedback.