[FIX] Regression bug creating workers

Fixes #823 once merged.
Merge pull request #825 from TheSerapher/issue-823

[FIX] Regression bug creating workers