Doctrine 1

Joining the same m2m relation more than one time produces query with duplicated aliases