This fixes below bugs: * pipe characters being counted as RTL character * only first word being checked