Fix handling of default values in config (fixes #83)