Fix ends_at field value for campaign editing