KAZOO-612: Improve transaction lib so it only return records