So this was a recent regression with our migrations system where the cache for a theme is not updated after theme migrations are run. This has been fixed in
https://github.com/discourse/discourse/pull/25562
So this is not true because the settings are actually not lost but the cache is just using the setting’s default value instead of the overrides in the database.