Fix job forget and cancel functions.