Fixed bug in energydeadseries (Problem when not all nodes died)