Fix bug to avoid error on homepage when user has made no contributions.