Update views.py

Fix for Search results where Activity Link is blank