fixing search results for uncategorized and implementing sentence search