Fix incorrect bound check in forward when the initial index is not 0.
Fix incorrect bound check in forward when the initial index is not 0.

rzel/kanzi,sharkkid/kanzi,rukistar/kanzi,rukistar/kanzi,sharkkid/kanzi,rukistar/kanzi,rzel/kanzi,Sputuks3/kanzi,rzel/kanzi,sharkkid/kanzi,Sputuks3/kanzi,Sputuks3/kanzi