fixed FactSpan issue with multiple instances of the same word in a term