remove unneeded filtering in completer
add error handling to FilterAndSortCandidates