I once had a smell problem from my black tank. Took me a long time to figure out it was a blocked roof vent.
I replaced the AAV under the bathroom sink. The problem went away. I thought life was good, until I dumped again, then the problem returned.
This sequence was repeated a few times.
Finally, after replacing the AAV yet AGAIN, the next time I dumped, I heard a loud sucking noise. I finally figured out that the roof vent was blocked, the sudden outflow of "stuff" from the black tank created a strong enough vacuum in the black tank to destroy the AAV, and the tank then vented through the AAV. Air in, smells out!
Explained why the problem recurred every time I dumped my black tank.