Fix oics crash when config file contains more channels than allocated