Issue #1009878 by ckreutz: fixed problem where users without badge where getting empty image in views in Chrome and IE.