Fix min_key decoding on ARM RUBY-704

Tested on armhf - Raspberry Pi.