IE6-8 return empty string on match (matched or not). Fixes failing tests.
Fix failing test in traversing. Text nodes do not have sourceIndex.