Weird subdivisions in 7/8 in Dorico

Hello guys. Trying to figure out the reason Dorico 4 is subdividing like this in 7/8. Here’s what I need from it:

Here’s the way it subdivides it, even though the meter is set correctly. I would have done it with "Force Duration, but’s the composition is way too long to do it manually throughout the whole piece.

It’s probably important to mention that this was imported as an xml file, which was originally created in Sibelius.

Have you tried selecting everything and resetting beaming, un-forcing durations etc? Or re-importing with different XML import preferences?