Please backport this PR https://github.com/sonata-project/SonataDoctrineORMAdminBundle/pull/272