Type fix in ORM\PersistentCollection.