Doctrine 1

getPopularTags() query fails on Postgresql