Fix ArgumentOutOfRangeException when colorzing diffs.