If you spray the inside of your vacuum cuff with silicone,it will kill most of the foam before it reaches your tank.
I have made a simple auto de-foamer for my machine... cost me £5.00 and works a treat!