I actually did not use mod arithmetic to solve this, I created a private var CurrentIndex and the length of the PatrolPoints array and I just check if my index is out of range to reset it to the first element.
Then the selector will run every time and check if our index has gone through all the waypoints to start from the beginning.