fixed filtering when customer_id is blank