Fix exception caused by Job references as node step error handlers 

fixes #896