Fix crash on missing user profiles.