Improve ActiveLoans() performance (#119).