fix equalValues function
Merge pull request #22 from eloone/fix-equalValues-function

fix equalValues function