MusicXML export and pickup/incomplete bar rests

I’m finding an odd situation with xml export that is then imported into verovio. In addition to the pickup bar at the start as shown in the graphic, there are similar partial bars throughout the piece where the problem also happens. In Verovio the bass clef rest is shown as a bar rest rather than an 8th note rest. When I change it as shown below, it displays the 8th note rest.

Original XML (all under the part id=“P2” tag)
`

    <rest measure="yes"/>

    <duration>2</duration>

    <voice>1</voice>

    <staff>1</staff>
  </note>
`  

Corrected:
`

    <rest/>

    <duration>2</duration>

    <voice>1</voice>

	<type>eighth</type>

    <staff>1</staff>

  </note>

`
I don’t know enough about musicxml to know if this is a Dorico issue or a Verovio issue. Since I’m able to change the xml by hand I tend to think it is a Dorico issue? Sorry, I can’t post the project.