Fixing the broken database.