Thanks, this works.
Created a bug report to inform the devs as well: https://github.com/darktable-org/darktable/issues/8514