Merge pull request #6825 from leoetlino/onion-types Config: Fix implicit conversions/enum config types