#440 fixed double duration tag

The problem existed when duration tag exists multiple times in step tag