When resetting the number of children on a ValueObject, also clear the existing children. This avoids issues where dynamic types change, but children stay the same