Bug fix: remove decrement on offset provided by forEachData callback

I had left a decrement, which is now applied directly in forEachData.
As a result, all values were shifted by 1 position.