Add null check on last_contact.contact_date. Fixes #3645.
Merge pull request #91 from NUBIC/bug_3645

Add null check on last_contact.contact_date. Fixes #3645.