Fix check for wrong ActivityLink target, take 2.