Fix, to allow batchDelete

Hi,
Batch delete was causing a 
```
FatalErrorException: Error: Cannot use object of type Application\Sonata\MediaBundle\Document\Media
as array in [...] vendor/sonata-project/media-bundle/Sonata/MediaBundle/Admin/Manager/DoctrineMongoDBManager.php line 57
```
before this.
Thanks !