Added fix to ting_visual_relation_get_search_result AJAX callback