bugfix: do not proceed with negative numbers of workers for submission (thanks to Matthieu for reporting)