Fix a typo in Upload Handler that was crashing the server