Added isset checks in ting_visual_relation_get_ting_object.
Removed uneeded check in ting_visual_relation_get_search_result.