Added exception handling for when grep doesn't find any results in search.