Addressed an "error" if $templatelist wasn't set