Fixed TypeError in Cluster::createJob()