[translatable] support BC with changes in mongodb-odm
based on doctrine/mongodb-odm#546