[FIX] Probably fixed BerkeleyDB serialization bug.