fixed another 2.3 issue, see https://github.com/sonata-project/SonataDoctrineMongoDBAdminBundle/pull/72