https://pdf.yt/d/BeioWriXAn-DkFcO

When searching the above pdf for the phrase 'acute' the second hit hightlights the nearby word ' especi'.  Almost certainly this is the same issue that I raised in #5667 

However, when examining the generated html you can see that the highlighted text is incorrect - it contains the text ' especi' and not the search term 'acute' - it is not a positioning issue.  (see screenshot).

I am using Chrome 39, windows 8.1 x64 and pdf.js 1.0.1093

![image](https://cloud.githubusercontent.com/assets/10129039/5864096/f2d665a4-a276-11e4-91fa-af6eb36f0cde.png)

if (
          prevElem.match + prevElem.matchLength >=
          currentElem.match + currentElem.matchLength
        ) {
          currentElem.skipped = true;
          return true;
        }
      }
      return false;
    }
    
    
    matchesWithLength.sort(function (a, b) {
      return a.match === b.match
        ? a.matchLength - b.matchLength
        : a.match - b.match;
    });
    for (let i = 0, len = matchesWithLength.length; i < len; i++) {
      if (isSubTerm(i)) {
        continue;
      }
      matches.push(matchesWithLength[i].match);
      matchesLength.push(matchesWithLength[i].matchLength);
    }
  }
  /**
   * Determine if the search query constitutes a "whole word", by comparing the
   * first/last character type with the preceding/following character type.
   */
  _isEntireWord(content, startIdx, length) {