Bundle export with two Touying presentations results in wrong headings

I’m trying to export two touying slideshows with a single bundle file:

#import "@preview/touying:0.7.4": *
#import themes.simple: *

#document(
  "slides-1.pdf",
  [
    #show: simple-theme
    == slide 1 A
    - this should be slideshow 1
    - but the headings are from slideshow 2!
    == slide 1 B
    == slide 1 C
  ]
)

#document(
  "slides-2.pdf",
  [
    #show: simple-theme
    == slide 2 A
    this should be slideshow 2
    == slide 2 B
    == slide 2 C
  ]
)

However, the headings of the second slideshow show up in both PDFs,
this is the first slide of the first slideshow:

I assume this is some introspection bug in touying, or am I holding it wrong? Is there a way to fix this? Thanks a lot in advance :)