RavenDB-1038 Allow using OfType<T> in an index map when $type info is present