Logged In: NO

If I understand the code right the QuerySimplifier.php seems to delete all the subgraph structure with dropEmpty before it creates a plan of how to use it. Maybe the structure info was supposed to be copied to the graphs before the deletion?

public function simplify(Query $query)
{
$arPatterns = $query->getResultPart();
self::dropEmpty($arPatterns);
$arPlan = $this->createPlan($arPatterns);

Marja