Minor change to not visit ancestors in Entity::isActivated()