Fixing issue with case uploads not getting saved properly.