Fix get_current_candidate() problem