Implemented enhancement to skipRepeats.
Slight formtting adjustments.
Changed areEqual to isEqual.
Merge pull request #1568 from foliot/skipRepeats-enhancement

Implemented enhancement to skipRepeats.