- struct hsh_table *freq_hash =
- create_freq_hash_with_range (dict, cf, filter, ost->vars[v],
- cst->lo, cst->hi);
+ struct casereader *reader =
+ casereader_create_filter_missing (casereader_clone (input),
+ &ost->vars[v], 1, exclude, NULL);
+ struct hsh_table *freq_hash =
+ create_freq_hash_with_range (dict, reader,
+ ost->vars[v], cst->lo, cst->hi);