Fixed bug in after upload (data going missing)
Merge pull request #187 from xi-project/after-upload-bug

Fixed bug in after upload (data going missing)