Fixed #23384 -- Allowed overriding part of a dictionary-type setting

This change is needed for upcoming changes where settings might be
grouped in a parent dictionary.
Oh, I didn't see the comments, sorry.

Stack overflow uses CC-BY-SA which should be compatible (I think).