Improved edd_get_total_sales()