Fix notice.
Merge pull request #4055 from openscholar/4031

Fix notice when visiting  john/search/node/john