Correct bug with the version search filter method

If the search term matched more than once it was added to the results
array more than once, returning a false negative