I am having the same problem as the OP was originally having, and I can’t seem to fix it, despite reading this thread a thousand times. Also note that I’m using FacetWP to display the listing page, which currently looks like this: https://cl.ly/0P3k250O2W1I
The template in FacetWP currently contains this code: https://cl.ly/1x1U2B3Z1l1B
I fail to see any problem with the code… how did you fix it?