[bug 1005125] Fix for question metrics dashboard.

r?

I'm going to try to write a test now.