bugfix: the state information for 0-width assertions that require look-ahead could be missing in global searches with backtracking.