Fixed a bug regarding dupication of the initial array value in the output stream.
Merge pull request #1 from rbultman/master

Fixed duplication of the initial array value in the output stream.