fix for dupliate output for each unique record
Merge pull request #27 from gsrika/master

fix for dupliate output for each unique record