Install a liquid separator prior to the gas membrane. This should take care of the water content.
Next install a ammonia gas membrane filter.
Anyway, what's your purpose to filter the ammonia vapour?
There are 2 sides of a coin
One is to give, one is to take
Give until it hurts with a smile