The SAS aren't magic though, plenty of special forces rescues have gone tits up. The Algeria thing could very well have been one of them, the terrorists were expecting an attack and were ready to die what ever happened. Also the Algerian army have been fighting terrorism for years and have some pretty decent forces. Sometimes there is nothing anyone can do against a suicidal enemy ready to die for their causes and make an example for the world to see.