Fix bug in Address.isSameType method.