fix missing id in candidates backend edit