Remove old django env setup in check_db
Ignore deleted shifts when calculating job hours