You need to also set maxIndex to 19.