Having the same issue, this worked for me.
`Hey @ndict
Sorry to hear you are having issues. This problem is typically caused after a WooCommerce update.
It is normally solved by getting WooCommerce to rebuild its product lookup tables. You can do this by visiting WooCommerce > Status > Tools and clicking ‘Regenerate’ for the Product lookup tables tool.
This is a background task, which you can see the progress of via WooCommerce > Status > Scheduled Actions. Once that has completed, the filter should work as normal.
If that doesn’t work, you can turn off the use of the lookup table, by navigating to WooCommerce > Settings > Products and turning off ‘Enable table usage’.
Hope that helps, let me know if you need anything further.`