Fixed contests information in the profile pages (Fixes #480. Fixes #478)