improving fix for #5676
improving fix for #5676

better way to enforce unique active id rules.

artefactual/archivematica-fpr-admin,artefactual/archivematica-fpr-admin,artefactual/archivematica-fpr-admin,artefactual/archivematica-fpr-admin