Fix bad worker index