[#3213] Removed DISTINCT clause from ActivityPub.fetch_activities_query/2.