Fixed a potential bug in indexOfOmitChars which would lead to accepting
partial matches. Extended indexOfOmitChars with a fallback mode which
removes all omit chars from both texts and returns a normal indexOf.