Check for exact occurrences to help prevent actions being performed lots of times