Ok, I found the solution. It was pretty simple. I believe the script for some reason raises the counter of saves to the number of actual saves, without caring of the 0 slot. So, for instance, when you have 2 saves and load the game, it moves the slot to “2”, which in reality equals to 3rd position, that’s why every time it’s taking 1 slot more than the previous game launch.
In order to fix it, the following line must be changed:
system.config["state_slot"] = args.state_slot
system.config["state_slot"] = int(args.state_slot) - 1
After the modification, remember to save the overlay, or it will be reset on every reboot.
I hope to have helped.