doesn't ip_address_find return an ip address object?  assert the one you are finding has the address you searched with?