Return null if contact is null
Merge pull request #671 from marco-c/fix_contacts_2

Return null if contact is null