Fix: total number of jobs should not be based on the current queue length