Doctrine 2 - ORM

Subquery parenthesis omitted in generated SQL