Fixes parallel enumerable index counter. Fixes #14515