Instead of using andand, is this preferable?
```
has_succeeding_types = content_types[index + 1].try(:type) == type.type
```