Loan list on Device details page is rendering.
Removed unused columns from loans table and added an index to loans