Added check for if daemons config is not array