Fix WindowFilterPushDown optimizer to handle other window functions correctly