Revert the if aoe check, was needed. Fixes #7053

This extra check was needed or every technique would get filtered, except valid aoe that is.
Fixes #7053