Dev assign gear fix & Dev medical converter fix

Fixed AGM medical converter and issue #451.