[fix] fix for operator issue on schedule generation
[fix] wrapped get_or_create in a try for integrity errors in case there a duplicate entry is made