sometimes worker dict has None values. Fixes #276

Fixes: #276