Implemented NAFQA-152: Bug in SecurityCheck: Templates will be judged wrong
 – small improvement