Prune filter does not work

The documentation for the prune filter notes that

This filter currently only support operations on top-level fields, i.e. whitelisting and blacklisting of subfields based on name or value does not work.

See also this post.