Handle StopIteration; hopefully ES won't return results that cause this, but it could happen if it's using a different stemmer than this code.