Custom thread sweep cut fails to follow helix.

I'm trying to cut thread profile using sweep cut following helix but it only works at certain revolutions.

It works at 1.5 revolutions but fails at 1.75 any idea how to make it work at any revolution?

SolidworksAssemblies