If you look at the ratio of serious accidents on the Soyuz compared to the shuttle, it's actually higher. Soyuz has gotten very lucky several times in nearly killing its occupants, and had several complete would-have-been-deadly failures in modern times on unmanned launches.
Just looking at crewed vehicles, here's some of the more significant Soyuz accidents since 1971:
18a (1975): second stage separation failed, the craft accelerated toward earth, the crew hit over 21g on abort, rolled down a hill, and stopped just short of a cliff. Serious injuries.
23 (1976): Landed off target, broke through a frozen lake, and sank to the bottom; with great difficulty, the crew was ultimately rescued in time.
33 (1979): Engine failure in orbit; the mission had to be aborted but the craft was thankfully low enough to achieve reentry in a reasonable length of time.
T-10-1 (1983): Rocket engulfed in flames on the launch pad. The emergency escape system was activated just two seconds before the craft exploded.
Expedition 6 (2003): Malfunction during reentry, causing the craft to reenter too hard and way off target. Landed on its side and left one of the crew with a broken shoulder.
(2008): Separation failure on reentry, causing incorrect reentry orientation for part of aerobraking and a rough landing; another crew member injured. Russia responded by blaming the problem on a superstition that having more women than men in a spaceship at any given time is unlucky and banning the practice for all future missions, and no, I'm not kidding though I wish I was.
It's not even accurate to say that the last fatality from a Soyuz was in 1971, in that a Soyuz-U launch in 2002 failed 29 seconds after launch, fell back on its pad and exploded, killing a man on the ground.
Soyuz's "spotless safety record for decades" is anything but. They've gotten really lucky, many times. And now Russia has made bug cutbacks in their space program due to the current economic climate, yet still wants to pursue grandiose programs like their own space station and even moon base. What do you think the result will be?