Cleanup.
Fix logic and comments.
Avoid affecting widgets.
Make people term pages affected by the os_profiles app settings.
Merge pull request #5039 from openscholar/4814-1

Code cleanup and fixes.