Removed a condition added during troubleshooting the upload which turned out to be unecessary and was causing problems with other calls