There is no flaw in my logic. My statement was that you don't stop terrorist attacks by attacking the terrorist during the attack. If that was true there would be no more terrorist attacks because we have hundreds, likely thousands, of instances of terrorists being attacked during their attack. Yet terrorist attacks still continue.
You misspoke. You used the phrase "terrorist attacks" to mean "terrorism." Individual terrorist attacks are stopped by violence. Terrorism isn't.