CSHARP-732: fixed linq predicate not working with types derived from ICollection<T>