Added LEFT OUTER JOIN to return 'automate.contact.timestamp' field in main query