CSHARP-900: Support downcasting object in LINQ queries