Fixed the testing error and empty search result upon pressing enter in the main page.
Fixed the error page upon starting the borrow transaction.