Fixing a few bugs with failed queue jobs.