Fixing a bug in saving new jobs