Fix bug. Can now continue writing to old DB.