Fixes #17459. Code cleanup - use dot notation instead of array notation for config flags