Fix validations in plan when provider_id is nil