Minor fixes to config:set checking