can you attach the "Query list" action configuration printscreen? Especially the part where you select columns to return?
I suspect you are not using the option to get every column in a separate output, but to get them all in a single output.
You can also add "Log to history" action and put your collection variable inside to check its structure. I think you have there a collection withn a collection, so before you move to the "For each" action, you should first use the "Get item from collection" action, to retrieve item with index = 0 and save it as the same collection variable as the input one was. Then loop through it.