I am not sure if this is a bug or just an oversight. I had a harmony nation with 10 affinity points, and after using miasmic condensers to place miasma all over my civilization my workers started to remove it. I think there should be a script that civilizations that have an affinity of 6 harmony or above should not remove miasma when using workers.