Fix lencompare

My understanding is that this is finding the most specific path to use.
There was a typo in lencompare that was causing it to return 0 all the time.
Merge pull request #13 from justinj/patch-1

Fix lencompare