filter candidates by connections