Fix stats shortcode to work when user is not logged in. (Bug fix.)