Fix #9047

Signed-off-by: Austin Seipp <austin@well-typed.com>