How to add objects with set variables to object array in Game Instance Event Graph and access each object's variables in a widget?

So I created structs and store the values in them now. In My game instance I create variables of type struct (eg. StudentProfile, TeacherProfile) and also a struct array called StudentProfileList.
I call my function GetTeachersStudentList and it does the following:

I tried to print a string saying “Hello” after adding each new StudentProfile to the StudentProfileList struct array and when I run it I only get the string printed once. Does this mean I cannot call my sql query in a for loop like this?
This is where I am executing it