Avoiding duplicate actions in the activity stream