fixed array out of bounds error in getUniqueList
Merge pull request #17 from jromer94/master

Fixed array out of bounds error in getUniqueList