Fix #443
Merge pull request #107 from mistio/last_key

Fix #443