Fixed failure when no machineindex found