Dev assign gear fix & Dev medical converter update

Improved AGM medical converter and issue #451.