Bugfix initial index lock logic
Bugfix initial index lock logic

Elvis operator treated 0 as false because 0 is falsey and Groovy but led
to unexpected behavior than what I actually intended... for zero to be
used as a value else fall back to a negative integer as a default.

samrocketman/jervis,samrocketman/jervis