Dorico automatically beams notes according to the prevailing meter (time signature). The original edition of this piece has some beam groups that don’t follow the meter, so you must change the beam grouping manually.
Procedure
Result
You have changed the default beam grouping in the selected bars.
Tip
If the beam grouping changes you want are consistent across many bars, you can specify them as part of the time signature, such as by entering [2+3+2]/8 into the popover for a 7/8 time signature grouped in 2+3+2. In Dorico Pro and Dorico Elements, you can also change the default beam grouping in different circumstances on the Beam Grouping page in Notation Options (key command Ctrl/Cmd-Shift-N).