Remove double looping in TaxRate.store_pre_tax_amount