Fix workers and schedules not getting assigned an id
Merge pull request #27 from umzegher/master

Fix workers and schedules not getting assigned an id