Aye, that is the problem; you will unload the weapon if you do that (or rather get a free reload with your most full magazine), which I hadn't considered. Finding about the M136s was just a byproduct of scripting a truely disposable M136 (removeWeapon after it has fired), so the ammo problem wasn't an issue for me.
**EDIT -> clarified**