Intermittently getting "Solving the sketch failed" errors when changing VarSet values

I have a VarSet variable called Segments. My sketch looks like this.

https://preview.redd.it/us1cadb64vge1.png?width=811&format=png&auto=webp&s=793d4ecc9779880390f0a3091cafdd8dc1937559

I've set each of the angles to `360 / VarSet.Segments` with the initial value as 6.

Now when I create a `PolarPattern` and change the value from 6 to 2, it gives me Sketcher solver errors, but if I change it to 5, then 3, then 2, it works. Then if I change it back to 6, I get sketcher a solver error.

Video: https://imgur.com/PWQ6Q30

I'm not sure what's going on but it seems the previous value is influencing the calculation somehow. Is this a bug or a workflow issue?