Fixed method Entity::is() for deleted objects