issue #2075523 by japerry: Tweaks to solr search to make people search page not throw notices or errors in edge cases