Made changes necessary for migmodels with explicit zeros.