Fixed error in encumbrance TH calculation