Added ability to specify search criteria for transactions