When you create two objects in the same event, both are picked, so a 'set private variable' action will modify both of them, not just the last created one.
Try creating them in separate iterations, eg:
+ For "i" from 1 to 3
-> Create object
-> Set variable to loopindex