BUGFIX: Cryptic problem when changing an existing file upload and autoDuplicate is on causing too many children to be appended to the container