Fix for AAQ when clicking email confirmation link.
[bug 911967] Exclude locked questions from kpi metrics.