This fixes interactions with witness_assert_depth[_to_rank](), which was added in d0e93ada (Add witness_assert_depth[_to_rank]().).