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

Long have to be compared using equals