Added functionality to search with multiple words and patched corner cases of %