In most cases, if you're blaming the ref, there's something else you ought to be blaming (like not scoring any goals).
Klose was warned, got a yellow, and then got a second yellow. That's two warnings and three infringements. Whether the ref was overly strict or not, he should have gotten the message.
