Fix for production upload issues.