[goto] fix: goto was not going to the last slide when countNested=false

* changed >= to > for the fix
* also checking for non-positive values
Merge remote-tracking branch 'twitwi-mainstream/fix-goto-range-check'