i'm guessing the wand connection thing that harry and voldemort have? to be honest it makes some sense, the alternative is that a wand has some ability to copy memories of everyone it kills?
The wand remembered the spells that were cast with it, not specifically the people killed by it.