The 150ml rule seems to be interpreted differently each time
I suspect all of them are letting something through they shouldn't!
If you ensure that all of them are in manufacturer-marked bottles of
100ml or less (not partially-full larger bottles, and not unmarked bottles or bottles containing things they weren't intended for) in your correct-sized plastic bag, you shouldn't get any of them confiscated, ever.
For shaving foam I recommend you try those tiny bottles of shaving oil - it's *far* better and I haven't gone back since I tried it.