Hey Goran,
I did not get to moving the flow meter closer to the tab, however I do want to note that the foaming has stopped for me. It took a while, like more than 20 pours. Left it idle for 4 days and now it pours perfectly with the adafruit flowmeters.
Maybe there was still a big air pocket...