corriger bug UniquenessTemplate when feature not present, potential return value 0 now