Switched over to foreach on applying skipStrategy and stepStrategy.