Changes to FilterProxyModel to support queryresult window filtering.