Fix comment detection logic for fortification.