Long have to be compared using equals
Merge pull request #1052 from ArloL/patch-10

Long have to be compared using equals