Fixing error on void purchase and sale.