fix anonymous profile page server error - Production Hotfix

This pushes the same change onto Production as went on Master.