Doctrine MongoDB ODM

GridFs file is stored incorrectly after two flushes