Fix slave task count not working when your slaves all have the same name before the first '.'