Web: tidy up QA summmary template ifclause