ARMORY-235 - Fixed a couple python bugs.