CycleToPreviousValidIndex function

Learn technical details about the CycleToPreviousValidIndex function.