Fix crash from loading exceptions with db_old and then unloading db_old