Hack around LMDB delete issue.