Fixed #22030 -- Don't assume that all fields have a swappable_setting at...

...tribute.