Depending on the amount of search results, this method is potentially faster than results.indexOf
results.indexOf