When I published my app the filters on my gallery worked perfectly and showed all my data in the editor and the editor preview, but when I go to the published app the gallery flashes the filtered data when I change the category filter and then goes white like the picture below. It only happens with the category filter. I have another page in the app with the same filters and this does not happen.
What do I do to fix this?
What it should look like (and what I get in the editor):

What I get in the published app:
