Getting rid of multiple retweets

For some hashtags, you get 5 identical retweets as there are no other retweets in the search. A set(retweets) could make sense here, because technically, a retweet does not create a new tweet, but just adds a new retweet entity to the original tweet.