Fix min_key decoding on ARM RUBY-704

Tested on armhf - Raspberry Pi.
Merge pull request #312 from behackett/1.x-stable

Fix min_key decoding on ARM RUBY-704