Auto-fixes profile URLs broken by #5232

I think it's rude to ask users to edit their profile to fix a bug we introduced, so this just auto-fixes it when the profile is displayed.

If there's opposition to editing the data from the view we could at least not display it.