I am having a similar issue wlith functions returning list. I’ve created an app to demonstrate the issue.
There are a variety of work arounds that could be implemented. Returning a list seems like a pretty fundamental feature to support.
Or am I missing something?
Related thread Returning Objects/Lists from Functions - #7 by b.perkins
https://x.thunkable.com/copy/a3342f23c1c037dcbbce4094b5e82d38