Doctrine 1

Wrong parsing on HAVING clause