Handle empty uploads better
4.0.10