quick and dirty fix for query limits with doctrine dbal