Fix for iota and inds constraint checking