Fixing bug in ConfigIoFactory.cpp