Fix and verify failed_task

Now it works !  Tested directly against host DB where
I was able to remove all stale 'mcostalba' runs.