SelectedObjects returns instances of wrong types

SelectedObjects returns instances of the selected rows even if they are of a different type than ObjectTypeInfo.Type of the view.