Fixed inventory cost calculation for fiscal year deletion.