Too many loops to establish attribute cache in class.search_products_by_attributes.php