Here's a revised version of the patch that behaves in a way that seemsreasonable to me, in particular it suppresses zero filter-count rows intext mode. I've not done anything yet about the documentation.
regards, tom lane