Often markedly different finger patterns on adjacent strings cause clarity problems. By practising both patterns on the same string we can focus on the change in finger pattern and methodically teach the fingers where to go.
Then retry the change of pattern on the different strings.
Also practise this exercise on the D-string.
Scores - Practise Complex Patterns on One String...