Fix `hasSubsequenceWithError`.