Explicitly add job to db session

Attempt to fix build failure in 21c3d2e6