unallocated_amt None bug fix.