fix for bug #98 prevent incrementing new job id twice