are we intentionally returning deleted docs here or is this some legacy stuff copied in to mimic previous behavior?