Step hooks with failed step

Prevent failing step from causing `AfterStep` hook skip.