RPV- 138 Added assertion for duplicates on upload.