Load only core setting values the first time we load them
We need to load setting values early, to get the main core settings in init proces, but it is failing if we try to load values of setting STI classes, that have not been loaded yet, as that fails to find STI class.
Fixes #32963 - Load only present categories
We need to load values only for categories that has already been loaded
into memory. This is issue in development.