Quick fix for user profile bugging out. Need to find a more thorough fix for this, but this works for now. Fixes #819