Removed trailing whitespace
Fixed logic error for determining upload status and checking for the existence of a basic transcription task