Fixed a bug when assigning a campaign.

When storing the survey response fails, the mask was still being created.