Improve handling of private and missing profiles