Fix: The predicates parameter for the current element should not be const

The element which gets passed to the processing function shouldn't be `const`.

This PR fixes this.