Fixing GetKeys method and Renaming MGet

Fixing GetKeys issues (based the fix on rfranke's fork:
https://github.com/rfranke)