Doctrine 2 - ORM

Incorrect SQL Query being generated