This sort of thing happened during Saturn V testing, with the wrong engine shutting down after an issue. Subsequently the signaling cables were redesigned so that they were different lengths, meaning some cables couldn’t physically reach the wrong engine(s).
“A common mistake that people make when trying to design…