fix bug in WikipediaForwardIndex