Step hooks with failed step

Prevent failing step from causing `AfterStep` hooks to be skipped.