Sounds like the locknut may not be tightened properly. I’ve gotten rid of the indexing on an old headset by replacing the caged bearings with loose balls, allowing more bearings to fit between the races,( basically changing the spacing). It can be difficult to properly tighten the locknut without the proper spanners.
__________________