ODE check rank and null address #3981
Check if there's anything to do before trying to process an address.
When searching for address only select if matching address rank.
Also adresses #3561
fix surveys directory handling
Fix email and phone processing #3268
Contact is now determined prior to setting attributes.
Rank and type is respected where appropriate.
Also fixes #3539