Fixed bug in hydra-worker-lib