Fix DoctrineORMAdapter