Only use REPAYMENT_THRESHOLD for active loans