Fix regression from previous optimisation
Fix regression from previous optimisation

aurelien-vtech/SonataDoctrineORMAdminBundle,aurelien-vtech/SonataDoctrineORMAdminBundle,pulzarraider/SonataDoctrineORMAdminBundle,nlzet/SonataDoctrineORMAdminBundle,pulzarraider/SonataDoctrineORMAdminBundle,nlzet/SonataDoctrineORMAdminBundle,rschumacher/SonataDoctrineORMAdminBundle,aurelien-vtech/SonataDoctrineORMAdminBundle,rschumacher/SonataDoctrineORMAdminBundle,rmzamora/SonataDoctrineORMAdminBundle,nlzet/SonataDoctrineORMAdminBundle,rmzamora/SonataDoctrineORMAdminBundle,rschumacher/SonataDoctrineORMAdminBundle,rmzamora/SonataDoctrineORMAdminBundle,rschumacher/SonataDoctrineORMAdminBundle,nlzet/SonataDoctrineORMAdminBundle,sonata-project/SonataDoctrineORMAdminBundle,pulzarraider/SonataDoctrineORMAdminBundle