Fix : after cloning a job, relatedEntities was null instead of an ArrayCollection.