CFY-1728 fix min number of workers bug