Fixed bug when assigning participations to a candidate