Fix config bug

Reported by @sdsmith1981