Prune ancestors from the AllSettings() result.

They end up making the output noisy and less useful.