Database search bug fix

Commented out several lines which were causing an endless loop in the woocommerce database when a user search through existing product orders.