`targets.Select(c => c.Id).Distinct().ToList()`?