Fix for activity dedupe