EffectInstance: fix asserts