From the PHP documentation: Parentheses are also not required when nesting into the middle operand, as this is always unambiguous and not affected by associativity:
1 ? 2 ? 3 : 4 : 5 // ok
1 ? 2 ?: 3 : 4 // ok
This case is a PHP example and is correct according to documentation.
Adding related issue.
Debugging I found that is a problem with \Drupal\Core\Entity\Query\Sql\Condition and/or \Drupal\Core\Entity\Query\Sql\addField.
A workaround is the creation of an and group for each repeated field.
The issue reported in https://www.drupal.org/project/drupal/issues/3303269 ๐ Entity query using OR group with the same field name on different relationships doesn't work Active is the underlying cause of this incidence.
e0ipso โ credited jjsanz โ .
The latest patch breacks "better toolbar" padding top...