Fix hash ordering on 1.8.7 for #330
Merge pull request #335 from hunner/fix_specs

Fix hash ordering on 1.8.7 for #330