Correct. There is no 100% security, and no profiling can ever be foolproof. However, the attacker undoubtedly planned on killing more than he managed to.
While the FBI is looking for proof that this was terrorism, the Israelis are going over their communications intercepts to figure out who ordered it, so those behind this will be rewarded as they deserve. This is not a slam against the FBI. God forbid that attacks here become so frequent that terrorism is assumed.