Fix a bug with Setting::forget and DB store