Library query within module not running when share app

I have a query library query (referencing a resource) which I use within a module which is used in an app.
This all seems to work fine when in edit or preview mode (for app and module) or run the app from the Retool landing page. However when I share the app and access the app from the shared public url it appears as if the query is not run.
The same library query runs if it is used in the shared app itself i.e. not within a module within the app.
How do I get the query to run in the module within the shared app?

Hey @MartinSher! Is your module also public? Can you try sharing the module as well if not?