fixed a bug when saving new goals on an existing campaign.