fixed queryClientJobCandidates() logic