Yes. Rereading I do understand your confusion, but because of Draco’s death (and the fact that most of the characters in the story were original characters) it changed the happenings of the war. Thus, Ron passed away during the war, and Fred did not. Hope that makes sense. Thanks for reading!