fix == comparison when not same object type
Merge pull request #1 from Gild/fix-spurious-lead-updates

fix == comparison when not same object type