Make getKeys consistent
Merge pull request #5 from d11e9/master

Make getKeys consistent