Fixes UI redirect and job dup-on-complete problem.