Context is here: https://github.com/TuringLang/DynamicPPL.jl/pull/793#discussion_r1939598535 This should be an easy enough fix