Its probably because there is more than one MenuAdapter in the same folder as MenuAdapter.cs and depending on configuration the page menu may be using one of the other ones, possibly TreeViewAdapter.cs or MenuAdapterWithSpanInLinks.cs. I applied your solution to all the menu adapters, not just the one you first mentioned. I don't know if you got my updates but they are in svn trunk.
Best,
Joe