After importing demo, filtering products by price is not working.

WooCommerce uses product_look_table to filter products. You need to regenerate this table after importing products.
Please go to WooCommerce -> Status -> Tools -> Product lookup tables and click “Regenerate” button.