Resume upload bug fixes.