Resolve "After changing the user of a person, groups are not synced" Closes #628 See merge request !935
#51985