CycleToNextValidIndex function

Learn technical details about the CycleToNextValidIndex function.