[TASK] Adjust to interface change in ElectionRepository