Merge commit '7bbb199912bd4bc7b4827358bcdd90acc826e7fa' * commit '7bbb199912bd4bc7b4827358bcdd90acc826e7fa': Avoid a crash trying to get a substring whose start is after its end.
Merge commit '7bbb199912bd4bc7b4827358bcdd90acc826e7fa' * commit '7bbb199912bd4bc7b4827358bcdd90acc826e7fa': Avoid a crash trying to get a substring whose start is after its end.