change the way a template function works

will nolonger remove underpopulatedcategory tags in nowiki tags