fix orderhistory.php delete

delete specific data from 3 tables