Corrected rule to mark job as done.
Revert "Corrected rule to mark job as done."

This reverts commit aa12c283953dc5f31f076140a1e82d49003f49c0.
Corrected rule to mark job as done.