Fix RuboCop offences

- Use `next` to skip iteration