Fixed index out of bounds exception
More fixes on starting from jobs