Better support for duplicate uploads