Converted the filter predicate function into a filter.

Also fixed bug involving repainting of the paginator when filtering is performed on the results.