Fixed error where last entry wasn't inspected. Fixed double == typo.
Merge pull request #5 from offthecuff/master

Fixed error where last entry wasn't inspected.