If doc isn't in nested filter, fall back on missing value

PR for #3020