Addresses https://ligo-caltech.sentry.io/issues/4256510336/ and https://sympa.ligo.org/wws/arc/operations/2023-06/msg00024.html.