Well Yes and No. I ended up solving my problem, but in a different way. Since the taxonomy.php wasn’t being called when searching for listings but always the archive-listings.php, I created a conditional on archive-listings.php.

I’ve never seen wp work this way, and it might stop working on future updates. But for now this is working. Basically I have this in archive-listings.php: