Refactors transactionSearch() -> getRecentHistory()