CRV - item.index not working

In reply to kernalmode1:

Thanks Kernal that makes sense now.

One last question then what is this line doing in the constraint?

(item.index==5)?6:item