I dislike this idea of calling theories that ended up being wrong as "pseudo-science". Not all wrong ideas were just random ramblings. Miasma Theory came from imperfect knowledge and not understanding the mechanisms of some of their observations.
If you read the debates on how miasma works, you can totally see reasonable rational arguments if you strip away a few generations of scientific knowledge.