person_utils: Attempt to fix duplicate memberships being created
See: https://gitlab.depp.it/openpolis/opdm/opdm-project/-/issues/452
(cherry picked from commit 6b1d4676)
See: https://gitlab.depp.it/openpolis/opdm/opdm-project/-/issues/452
(cherry picked from commit 6b1d4676)