For better readability and to be consistent with previous code:

```ruby
chain.delete_if do |k| 
  chain.any? { |c| c > k }
end
```