GearSwap: Mote-libs: Fix issues with case selection.
Merge pull request #890 from Kinematics/4.1-dev

GearSwap: Mote-libs: Fix issues with case selection.