When a job has finished the show page displays an active record exception.
This change redirects to the index page and gives a friendly error.