Fixing issue with undefined method undef?() in the config class.