Doctrine 2 - ORM

ORM tries to fetch an already deleted versioned entity and fails with spl_object_hash error