Issue #3283667 by WalkingDexter: EntityManager::setEntityInstanceSettings() may work improperly for multiple variants