Values in inner array resets after leaves set function

So, I’ve managed to make it work, but I had to to my IntList a blueprint from object instead of using a structure for it. If anyone know a better way to do it, please let me know.