when is this being called?
if you are not in PIE the construction script runs many times any time you do anything with the actor in the level. Like if you move it the construction script will fire a bunch.
If you have it called from begin play and enter PIE it will only run once and the output associated with the index will be processed.