Small bug fixed when editing a candidate