Fixed bug with new key insertion into log when cloning.