Flat Catalog Product workaround

Fixed filter not working when "Use Flat Catalog Product" was set to "Yes".