Fixes an issue where the number of test cases is >= total number of tasks
Fixes an issue where the number of test cases is >= total number of tasks

gyf19/parallel-ssh,jcmcken/parallel-ssh,jorik041/parallel-ssh