Fixes Notice: Undefined index: searchResult