Strange stem direction on XML import

It seems this is a continuing issue. I see this after an XML import. Unforcing all stems in Notations seems to have no effect. “Stems” is unticked in Preferences. Everything is in the same voice.

I can use ‘F’ repeatedly to get there but that’s a lot of separate interactions.

The best way to do it in one go is to select all, go to Engrave Mode, right-click > Stems > Remove forced stems.

It appears that it doesn’t work as well in Write Mode, as @Christian_R pointed out in this thread:

The switch to engrave mode after selecting did the trick.

It can help also to have this option unticked in Preferences > MusicXML for your next imports (but from my experience it doesn’t prevent some oddities like the one you mentioned…)