Fix primary email address change

I did not filter the query by user, so whenever a user changed their primary email address, it would change the primary email address for all users to none.

Merge request reports

Loading