Fixed bug in recent changes to config class