Fix add_itv edit (issue #4464)