Worker id check bug

Hey,

i found a bug in the worker id check which resulted in very strange behavior in terms of which id got expected and which didn't.


Greetings from Würzburg,
Christian