Fix initially backgrounded jobs. Fixes #1373