Maximum save states?

I’m using the auto index save state feature and RetroArch is correctly saving sequentially, that is: if I, e.g., save three times, then Retroarch would save first in the first slot, then in the second slot and then in the third slot. I’m wondering though if I can configure Retroarch to reach a designated maximum of save slots and then start cycling and rewriting the old ones. So if, for example, I set the maximum save slots to 5, then, after saving in the fifth slot, Retroarch would make a sixth save in the first slot, then the next in the second slot, etc.