Changed Empty Job Id to 0, fixed drawing labels for jobs with p=0