setting empty candidate list instead of null (bug introduced in last commit)