Fixes not removed network spinner when trying to upload nil data.