Refactored transaction access in records and removed misleading code.