Fixes a problem updating projects when the intervention_id is duplicated