I haven't used Data Tables a whole lot myself, but I think they may be able to help you. Using actions like "Save Data Table", you can save stuff using strings. According to their description:
"Data tables allow you to store and recall values using a string identifier. If you save a data table value using a string identifier that already exists, you will overwrite the old value, even if it is a different data type than the value you are saving."
I haven't used Data Tables a whole lot myself, but I think they may be able to help you. Using actions like "Save Data Table", you can save stuff using strings. According to their description:
"Data tables allow you to store and recall values using a string identifier. If you save a data table value using a string identifier that already exists, you will overwrite the old value, even if it is a different data type than the value you are saving."
Presets are just integers. Maybe you could name the last preset "end" or something, and only create new presets before end.