Bug fix for gridjobstatus job