Fix #62 (handle malformed keys).