Fix TermDocIdSetIterator exception for nonexistent term