Fixed a bug on parseSearchResult function. Caught an exception on empty search results.