Fix the same array path bug in the collectd input plugin (soon to be deprecated).