Fixed an error on the user profile view page.