Possible crash fix: Checking if template file is outdated