Duplicate event when deleting a candidate group

Description

When implementing an ActivitiEventListener we noticed that there were two events for every deleted candidate group.
The attached patch contains a test which shows this behaviour and a patch.

Environment

None

Attachments

Assignee

Tijs Rademakers

Reporter

Heinz-Dieter Conradi

Labels

None

Components

Fix versions

Affects versions

Priority

Medium
Configure