fixed bug with nil result from uniq!
Merge pull request #15 from joshcody/fix-uniq

fixed bug with nil result from uniq!