Updated getUploadProgressUniqueKey to fix a defect in logic