fixed a stupid mistake from sanitize_bms (originally added in hg rev 429419434d9c).

--HG--
branch : 2.0