Corrected workflow step indexing.