Fix inner loop get_durability call