This.
I was meaning address the original post about this, but I got a bit busy. However it's not just the fault of Hepburn, when "ん" is before b, m or p, it is genuinely pronounced as "m", and it is merely convention that it is transliterated as "n". A basic word such as "zenbu" (all, lit. all...