Workaround for LevelDB Issue 197 (squashed)