There's a lot of confusion about which one got murdered and when.
My theory is that Andrew not Robert was "younger of Cessford", being Walter's grandson and heir, and was killed 13 years after Flodden, in the time of James V. But somebody said before instead of after, and then it all got garbled.