Fixed last issue with exclusions in templates tags