ENG-5442: Fix ElasticContext.handleActivation() validation.