fixes bug 890102 - guard against missing stats

r? @lonnen