Fix issue #2983 - add target nid to activity