Doctrine backend performance fix