Doctrine 1

Query with a leftJoin() + where(NOT IN) + limit() generate wrong SQL alias in the NOT IN part