shall be applied by increasing the amount determined under subparagraph (A)(ii)(I) thereof by the sum of the carrybacks and carryovers of any net operating loss attributable to such portion. (b) Qualified Louisiana storm and flood disaster area loss (1) In general For purposes of subsection (a), the term qualified Louisiana storm and flood disaster area loss means the lesser of— (A) the excess of— (i) the net operating loss for such taxable year, over (ii) the specified liability loss for such taxable year to which a 10-year carryback applies under section 172(b)(1)(C) of such Code, or (B) the aggregate amount of the following deductions to the extent taken into account in computing the net operating loss for such taxable year: (i) Any deduction for any qualified Louisiana storm and flood disaster area casualty loss. (ii) Any deduction for moving expenses paid or incurred after the applicable disaster date, and before January 1, 2019, and allowable under this chapter to any taxpayer in connection with the employment of any individual— (I) whose principal place of abode was located in the Louisiana storm and flood disaster area before the applicable disaster date, (II) who was unable to remain in such abode as the result of the severe storms and flooding giving rise to the Presidential declaration described in section 2(1), and (III) whose principal place of employment with the taxpayer after such expense is located in the Louisiana storm and flood disaster area. For purposes of this subparagraph, the term moving expenses has the meaning given such term by section 217(b) of such Code, except that the taxpayer’s former residence and new residence may be the same residence if the initial vacating of the residence was as the result of the severe storms and flooding giving rise to the Presidential declaration described in section 2(1). (iii) Any deduction allowable under this chapter for expenses paid or incurred on or after the applicable disaster date, and before January 1, 2019, to temporarily house any employee