fix address comparison

This should fix the emberassing address comparison bug from my previous
commit.