=str #16508 in StatefulStage.emit don't lose state change for single-element iterator
Merge pull request #16509 from spray/w/16508-fix-StatefulStage-emit

=str #16508 in StatefulStage.emit don't lose state change for single-element iterator