Fixed the loans index page when creating a new loan