TEIID-2463 fix for filter on a windowed aggregate