Fix #15 Simple display of filter results when doing a query.

Some bugs are still present, but in general it works fine.