Fixed bug in HadoopJob.