Fixes upload rate calculation