Fixing missing null check
Merge pull request #992 from christensenep/1075682

Bug 1075682 - Fix badge display for logged out users