Prevent zero division error in download speed calculation