Loans history cleanup, fixed #34