more concise version:
```csharp
models = selection.OfType<ModelBase>();
```