Had Corelli kept to a diatonic sequence he would have arrived at the minor chord of the supertonic (ii) before the dominant (V).

But in the original, Corelli turns the B into a B♮ and therefore alters the supertonic chord into a major chord in preparation for the cadence in C major.