Entities that are splitting the table with a derived type need to be queried with a filter on the principal type discriminator. See `TableSplittingTestBase.Can_query_shared_derived()` and `OwnedQuerySqlServerTest`