Fix detection of 0 workerCount