Sequence Node "Note"

For your problem, I think the loop has to finish first, then call the Return Node (perhaps sending the result to that node and let the function return the result)