[MIE-1524] Added filter for repeated activities

Added a custom filter method to detect if the activity is already in the collection.

Missing newline