Put back the if aoe check, fixes techniques (important bugfix).

Makes all techniques work once more, most importantly martial arts.
This extra check was needed or every technique would get filtered, except valid aoe that is.
Fixes #7053